package com.ruibang.glass.etl.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.text.SimpleDateFormat;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import java.util.Date;

import lombok.Data;
import org.apache.commons.lang3.StringUtils;

/**
 * <p>
 * 
 * </p>
 *
 * @author Auto-generator
 * @since 2024-04-19
 */

@ApiModel(value ="")
@TableName("dcstd02")
@Data
public class Dcstd02 {

    @TableId(value = "id")
    private Integer id;
    @TableField("re2TD_TD_td02_FL01BAMON_TIMESTAMP")
    private String re2tdTdTd02Fl01bamonTimestamp;
    public void setRe2tdTdTd02Fl01bamonTimestamp(String re2tdTdTd02Fl01bamonTimestamp){

        if(StringUtils.isNotBlank(re2tdTdTd02Fl01bamonTimestamp) && re2tdTdTd02Fl01bamonTimestamp.matches("\\d+")){
            SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
            this.re2tdTdTd02Fl01bamonTimestamp = sdf.format(new Date(Long.valueOf(re2tdTdTd02Fl01bamonTimestamp)));
        }else
            this.re2tdTdTd02Fl01bamonTimestamp = re2tdTdTd02Fl01bamonTimestamp;
    }
    @TableField("re2TD_TD_td02_FL01BAMON_VALUE")
    private Double re2tdTdTd02Fl01bamonValue;
    @TableField("re2TD_TD_td02_FL02BAMON_VALUE")
    private Double re2tdTdTd02Fl02bamonValue;
    @TableField("re2TD_TD_td02_FL03BAMON_VALUE")
    private Double re2tdTdTd02Fl03bamonValue;
    @TableField("re2TD_TD_td02_FL0FAMON_VALUE")
    private Double re2tdTdTd02Fl0famonValue;
    @TableField("re2TD_TD_td02_FL0TAMON_VALUE")
    private Double re2tdTdTd02Fl0tamonValue;
    @TableField("re2TD_TD_td02_FL10FAMON_VALUE")
    private Double re2tdTdTd02Fl10famonValue;
    @TableField("re2TD_TD_td02_FL10TAMON_VALUE")
    private Double re2tdTdTd02Fl10tamonValue;
    @TableField("re2TD_TD_td02_FL1FAMON_VALUE")
    private Double re2tdTdTd02Fl1famonValue;
    @TableField("re2TD_TD_td02_FL1TAMON_VALUE")
    private Double re2tdTdTd02Fl1tamonValue;
    @TableField("re2TD_TD_td02_FL2FAMON_VALUE")
    private Double re2tdTdTd02Fl2famonValue;
    @TableField("re2TD_TD_td02_FL2TAMON_VALUE")
    private Double re2tdTdTd02Fl2tamonValue;
    @TableField("re2TD_TD_td02_FL3FAMON_VALUE")
    private Double re2tdTdTd02Fl3famonValue;
    @TableField("re2TD_TD_td02_FL3TAMON_VALUE")
    private Double re2tdTdTd02Fl3tamonValue;
    @TableField("re2TD_TD_td02_FL4FAMON_VALUE")
    private Double re2tdTdTd02Fl4famonValue;
    @TableField("re2TD_TD_td02_FL4TAMON_VALUE")
    private Double re2tdTdTd02Fl4tamonValue;
    @TableField("re2TD_TD_td02_FL5FAMON_VALUE")
    private Double re2tdTdTd02Fl5famonValue;
    @TableField("re2TD_TD_td02_FL5TAMON_VALUE")
    private Double re2tdTdTd02Fl5tamonValue;
    @TableField("re2TD_TD_td02_FL6FAMON_VALUE")
    private Double re2tdTdTd02Fl6famonValue;
    @TableField("re2TD_TD_td02_FL6TAMON_VALUE")
    private Double re2tdTdTd02Fl6tamonValue;
    @TableField("re2TD_TD_td02_FL7FAMON_VALUE")
    private Double re2tdTdTd02Fl7famonValue;
    @TableField("re2TD_TD_td02_FL7TAMON_VALUE")
    private Double re2tdTdTd02Fl7tamonValue;
    @TableField("re2TD_TD_td02_FL8FAMON_VALUE")
    private Double re2tdTdTd02Fl8famonValue;
    @TableField("re2TD_TD_td02_FL8TAMON_VALUE")
    private Double re2tdTdTd02Fl8tamonValue;
    @TableField("re2TD_TD_td02_FL9FAMON_VALUE")
    private Double re2tdTdTd02Fl9famonValue;
    @TableField("re2TD_TD_td02_FL9TAMON_VALUE")
    private Double re2tdTdTd02Fl9tamonValue;
    @TableField("re2TD_TD_td02_FLBY1FAMON_VALUE")
    private Double re2tdTdTd02Flby1famonValue;
    @TableField("re2TD_TD_td02_FLBY1TAMON_VALUE")
    private Double re2tdTdTd02Flby1tamonValue;
    @TableField("re2TD_TD_td02_FLBY2FAMON_VALUE")
    private Double re2tdTdTd02Flby2famonValue;
    @TableField("re2TD_TD_td02_FLBY2TAMON_VALUE")
    private Double re2tdTdTd02Flby2tamonValue;
    @TableField("re2TD_TD_td02_FLBY3FAMON_VALUE")
    private Double re2tdTdTd02Flby3famonValue;
    @TableField("re2TD_TD_td02_FLBY3TAMON_VALUE")
    private Double re2tdTdTd02Flby3tamonValue;
    @TableField("re2TD_TD_td02_FLBY4FAMON_VALUE")
    private Double re2tdTdTd02Flby4famonValue;
    @TableField("re2TD_TD_td02_FLBY4TAMON_VALUE")
    private Double re2tdTdTd02Flby4tamonValue;
    @TableField("re2TD_TD_td02_FLBY5FAMON_VALUE")
    private Double re2tdTdTd02Flby5famonValue;
    @TableField("re2TD_TD_td02_FLBY5TAMON_VALUE")
    private Double re2tdTdTd02Flby5tamonValue;
    @TableField("re2TD_TD_td02_FLBY6FAMON_VALUE")
    private Double re2tdTdTd02Flby6famonValue;
    @TableField("re2TD_TD_td02_FLBY6TAMON_VALUE")
    private Double re2tdTdTd02Flby6tamonValue;
    @TableField("re2TD_TD_td02_PT_SP_01AMON_VALUE")
    private Double re2tdTdTd02PtSp01amonValue;
    @TableField("re2TD_TD_td02_TT_SP_01AMON_VALUE")
    private Double re2tdTdTd02TtSp01amonValue;
    @TableField("re2TD_TD_td02_YW_TD_01AMON_VALUE")
    private Double re2tdTdTd02YwTd01amonValue;
}
